package top.hcode.hoj.service.oj;

import top.hcode.hoj.common.result.CommonResult;
import top.hcode.hoj.pojo.entity.user.Leavels;

import java.util.List;

public interface LeavelsService {
    CommonResult<List<Leavels>> getdeplists(String oj);

    CommonResult<List<Leavels>> getlists(String oj);

    CommonResult<Void> adddleavels(Leavels leavels);

    CommonResult<Void> updatedleavels(Leavels leavels);

    CommonResult<Void> deleteleavels(Leavels leavels);
}
